<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page  import="tmp.MyClass"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>jsp4</title>
</head>
<body>
  <jsp:useBean id="obj" class="tmp.MyClass" scope="session">
    <jsp:setProperty name="obj" property="i" value="11"/>
  </jsp:useBean>
  <jsp:getProperty name="obj" property="i"/> 
  <jsp:setProperty name="obj" property="i" value="22"/>
  <jsp:getProperty name="obj" property="i"/>
</body>
</html>